package com.ny.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModelProperty;

/**
 * 投诉信息封装对象
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Data
public class ComplaintDTO {

    /**
     * 投诉ID：必填
     */
    @NotNull(groups = { DeleteGroup.class, UpdateGroup.class }, message = "投诉ID不能为空")
    @ApiModelProperty(value = "投诉ID：必填")
    private Integer complaintId;

    /**
     * 会员ID：必填
     */
    @NotNull(groups = { CreateGroup.class }, message = "会员ID不能为空")
    @ApiModelProperty(value = "会员ID：必填")
    private Integer memberId;

    /**
     * 投诉描述：必填
     */
    @NotBlank(groups = { CreateGroup.class }, message = "投诉描述不能为空")
    @ApiModelProperty(value = "投诉描述：必填")
    private String complaintDescription;

    /**
     * 处理状态
     */
    @ApiModelProperty(value = "处理状态")
    private String status;
}
